<?php

if ( $codRegistro == '' )$codRegistro=0;

$objRegistro  =  $objConn->Execute("SELECT *,DATE_FORMAT(dt_cadastro,'%d/%m/%Y') as dt_informativo  from tbl_informativos WHERE  st_status='S' AND co_informativos <> ".$codRegistro." order by dt_cadastro desc ");
$strResult = "";
if( $objError->semErros() )
{
	while( !$objRegistro->EOF ) {
		
		$strResult .= '<img src="images/icones/seta.jpg" width="10" height="11" align="left" border="0" /><a class="materia" href="mostraInformativo.php?'.md5("codRegistro") . "=" . base64_encode( $objRegistro->fields['co_informativos'] ) . '"<strong>' . $objRegistro->fields['dt_informativo'] .  '</strong> - ' . ( $objRegistro->fields['no_titulo'] ) . '</a></br>';	
	 	$objRegistro->MoveNext();
	}

	echo $strResult;

}
?>